import {request}from './request'

const maintRouter = '/maintenance'

export const apiFindMaintain = (data)=>{
  const { page, pageSize, startTime, endTime } = data
  var raw = JSON.stringify({
    start_time:startTime,
    end_time:endTime,
  })
  return request(maintRouter+`/find?page=${page}&&pageSize=${pageSize}`,"post",raw)
}
